package net.wanho.shop.mapper;

import net.wanho.shop.po.Member;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author 猛虎王
 * @since 2024-12-24
 */
@Mapper
public interface MemberMapper {

    List<Member> select(Member member);

    Member selectById(Serializable id);

    void insert(Member member);

    void update(Member member);

    void deleteById(Serializable id);

    void deleteByIds(String[] split);

    void insertBatch(List<Member> list);

    void deleteByIds(ArrayList<Integer> ids);

    int selectCount();
}
